﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_Link.aspx.cs" Inherits="Admin_Admin_Link" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>欢迎您光临滨海学院办公网</title>
     <script src="../JScript.js" type="text/javascript"></script>
     <link type="text/css" rel="stylesheet" href="../StyleSheet.css"/>
    <style type="text/css">
        .style1
        {
            height: 43px;
        }
        .style2
        {
            width: 19px;
        }
        .style3
        {
            height: 27px;
        }
    </style>
</head>
<body style="margin: auto">
    <form id="BodyForm" runat="server" style="margin: auto">
    <div style="margin: auto" align="center">
        <table cellpadding="0px" cellspacing="0px" 
            align="center">
          <!--Menu-->
        <tr align="center" valign="top" style="width:885px; ">
            <td class="style1">
                <table cellpadding="0px" cellspacing="0px" style="width:885px; height:34px; border:0px">
                    <tr style=" height:100%; background-image:url(../images/MenuBackground.jpg); ">
                        <td>&nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <!--Top-->
        <tr align="center" valign="top" style="width:885px; ">
            <td class="style7">
                <table cellpadding="0px" cellspacing="0px" style="width:885px; height:144px; border:0px">
                    <tr align="left">
                        <!--Logo-->
                        <td class="style9"><img alt="" src="../images/logo.gif" /></td>
                        <!--Pic-->
                        <td style="width:60%">
                            <img alt="" src="../images/pic.gif" style="width:526px; height:128px" />
                        </td>
                    </tr>
                    <tr align="left">
                        <td colspan="2" valign="bottom" class="Pic_ColorBar" >&nbsp;</td>
                    </table>
            </td>
        </tr>
        <!--Content-->
        <tr align="center" valign="top" style="width:885px;">
            <td>
                <table cellpadding="0px" cellspacing="0px" style="width:885px; border:0px">
                    <tr>
                        <!--Left-->
                        <td style="width:20%" valign="top">
                           <table cellpadding="0px" cellspacing="0px" style="width:100%; border:0px">
                                <tr>
                                    <td>
                                        <table cellpadding="0px" cellspacing="0px" style="width:100%; border:0px">
                                            <tr align="left">
                                                <td colspan="2"><asp:Image ID="Image2" runat="server" ImageUrl="~/images/办公网管理.gif"/></td>
                                            </tr>
                                            
                                            <tr style="height:150px">
                                               <td style="width:25%"></td> 
                                                <td align="left" valign="top" >
                                               
    <div>
    
      <asp:Menu ID="Menu1" runat="server" StaticEnableDefaultPopOutImage="False"    ForeColor="#000000">
            <StaticMenuItemStyle Font-Size="Small" ForeColor="Black" 
                VerticalPadding="5px" HorizontalPadding="8px"/>
        <DynamicHoverStyle BackColor="gray" Font-Bold="true" />
         <DynamicMenuItemStyle BackColor="#DCD9D3" Font-Italic="False" Font-Size="Small" 
                ForeColor="Black" VerticalPadding="2px" HorizontalPadding="8px"/>
          <StaticHoverStyle BackColor="#EBEBEB" />
            
        </asp:Menu>
    
    </div>
   
                                                </td>
                                            </tr>
                                           
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table cellpadding="0px" cellspacing="0px" style="width:100%; border:0px">
                                            <tr align="left">
                                                <td colspan="4"><asp:Image ID="Image1" runat="server" ImageUrl="~/images/站内搜索.gif"/></td>
                                            </tr>
                                            <tr style="height:24px">
                                                <td style="width:10%"></td>
                                                <td align="center" style="width:25%"><asp:Label ID="Label1" runat="server" CssClass="Login">关键字:</asp:Label></td>
                                                <td align="left"><asp:TextBox runat="server" ID="KeyWord" Height="13px" 
                                                        Width="80px" BackColor="#F2FDFD"></asp:TextBox></td>
                                                <td><asp:Button runat="server" ID="Search" Text="搜索"/></td>
                                            </tr>
                                            </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td style="width: 2px; background-color: #999999"></td>  
                        <!--LeaderList-->
                        <td valign="top">
                            <table cellpadding="0px" cellspacing="0px" style="width:100%; border:0px">
                                <tr align="left" >
                                    <td class="Guide" align="left" colspan="3" 
                                        style="font-family: 宋体; font-size: small; font-weight: bold">&nbsp;当前位置:&nbsp;<label>滨海学院办公网管理</label>&gt;<asp:Label ID="Management" runat="server" Text="链接管理"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td>
                                        <table style="width:100%;border: 0px;" cellspacing="0px" cellpadding="0px" class="HyperLink">
                                            <tr>
                                                <td class="style2"></td>
                                                <td align="left">
                                                    <table style="border-style: none; border-color: inherit; border-width: 0px; width:101%;" 
                                                        cellspacing="0px" cellpadding="0px">
                                                        <tr>
                                                            <td class="style3">
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:GridView ID='LinkGridView' runat='server' GridLines="None" BorderColor="White" ShowFooter="true" ShowHeader="false" AutoGenerateColumns="false" OnRowEditing="LinkGridView_RowEditing" OnRowDeleting="LinkGridView_RowDeleting">
                                                                    <Columns>
                                                                        <asp:TemplateField>
                                                                            <ItemTemplate>
                                                                                <table style="width:100%; height:22px; border: 0px;" cellspacing="0px" cellpadding="0px">
                                                                                    <tr>
                                                                                        <td style="width:20px"><img alt="" src="../images/Index.jpg"></td>
                                                                                        <td><asp:Label ID="News_id" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"标识")%>' Visible="false"></asp:Label></td>
                                                                                        <td><asp:Label ID="News_Title" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"标题")%>' CssClass="HyperLink"></asp:Label></td>
                                                                                        <td style="width:5px"></td>
                                                                                        <td><asp:Label ID="URL" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"链接")%>' CssClass="HyperLink" Visible="false"></asp:Label></td>
                                                                                        <td><asp:Label ID="Sequence" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"序号")%>' CssClass="HyperLink"></asp:Label></td>
                                                                                        <td style="width:10px"></td>
                                                                                        <td align="right"><asp:LinkButton ID="Edit" runat="server" CommandName="Edit" Text="编辑" Font-Size="12px" ForeColor="#373737"></asp:LinkButton></td>
                                                                                        <td style="width:30px" align="right"><asp:LinkButton ID="Delete" runat="server" CommandName="Delete" OnClientClick="return confirm('您确认删除吗？')" Text="删除" Font-Size="12px" ForeColor="#373737"></asp:LinkButton></td>
                                                                                    </tr>
                                                                                </table>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" style="height:25px" align="left"><label>&nbsp; <asp:Label runat="server" ID="Motify_LinkID" Visible="false"></asp:Label></asp:Label><label>链接序号：</label><asp:TextBox 
                                                        runat="server" ID="Motify_LinkSequence" Width="20px" BackColor="#F2FDFD"></asp:TextBox><label>链接名：</label><asp:TextBox 
                                                        runat="server" ID="Motify_LinkName" Width="100px" BackColor="#F2FDFD"></asp:TextBox><label>链接地址：</label><asp:TextBox 
                                                        runat="server" ID="Motify_URL" Width="120px" BackColor="#F2FDFD"></asp:TextBox><asp:Button runat="server" ID="Motify" Text="提交修改" OnClick="Motify_Click" /></td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" style="height:25px" align="left"></asp:Label><label>&nbsp; 链接序号：</label><asp:TextBox 
                                                        runat="server" ID="New_LinkSequence" Width="20px" BackColor="#F2FDFD"></asp:TextBox><label>链接名：</label><asp:TextBox 
                                                        runat="server" ID="New_LinkName" Width="100px" BackColor="#F2FDFD"></asp:TextBox><label>链接地址：</label><asp:TextBox 
                                                        runat="server" ID="New_URL" Width="120px" BackColor="#F2FDFD"></asp:TextBox><asp:Button runat="server" ID="New" Text="新建链接" OnClick="New_Click" /></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                             </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <!--Bottom-->
        <tr align="center" valign="top" style="width:885px;">
            <td class="Footer">
                <table cellpadding="0px" cellspacing="0px" style="width:885px; border:0px">
                    <tr>
                        <td><hr /></td>
                    </tr>
                     <tr style="height:20px" align="center" valign="middle">
                        <td>
                            <br />
                            Copyright@Binhai College Of Nankai University 南开大学滨海学院</td>
                    </tr>
                    <tr style="height:20px" align="center" valign="middle">
                        <td>地址：天津市大港区学府路634号 邮编：300270</td>
                    </tr>
                    <tr style="height:20px" align="center" valign="middle">
                        <td>电话：022-63304887--63304888<br />
                        </td>
                    </tr>
                     <tr>
                        <td class="Pic_ColorBar" style="border-width: thin"></td>
                            </tr>
                </table>
            </td>
        </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
